PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Drawing / Liquid Mirror / suksma - directing the population off the cliff nz+.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.900 |
| 9 | fVideoEchoZoom=7.368 |
| 10 | fVideoEchoAlpha=1.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=0.037 |
| 32 | fWarpScale=0.015 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.03300 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.005 |
| 55 | ib_r=0.000 |
| 56 | ib_g=1.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.050 |
| 64 | mv_r=0.700 |
| 65 | mv_g=0.800 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.180 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=ma=ma+(above(bass,1)*3.1415*.01*bass); |
| 89 | wave_0_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=mx=mx+(.0002*cos(ma)); |
| 92 | wave_0_per_point5=my=my+(.0002*tan(ma)); |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 95 | wave_0_per_point8=my=if(above(my,.9),(.9-my),my); |
| 96 | wave_0_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 97 | wave_0_per_point10=my=if(below(my,.1),(.9+my),my); |
| 98 | wave_0_per_point11= |
| 99 | wave_0_per_point12=x=mx; |
| 100 | wave_0_per_point13=y=my; |
| 101 | wave_0_per_point14= |
| 102 | wave_0_per_point15=a=(above(bass+mid+treb,.8)); |
| 103 | wavecode_1_enabled=1 |
| 104 | wavecode_1_samples=512 |
| 105 | wavecode_1_sep=0 |
| 106 | wavecode_1_bSpectrum=0 |
| 107 | wavecode_1_bUseDots=0 |
| 108 | wavecode_1_bDrawThick=1 |
| 109 | wavecode_1_bAdditive=0 |
| 110 | wavecode_1_scaling=1.00000 |
| 111 | wavecode_1_smoothing=0.50000 |
| 112 | wavecode_1_r=1.000 |
| 113 | wavecode_1_g=1.000 |
| 114 | wavecode_1_b=1.000 |
| 115 | wavecode_1_a=1.000 |
| 116 | wave_1_per_point1=ma=ma+(above(bass,1)*3.1415*.05*bass); |
| 117 | wave_1_per_point2=ma=ma-(above(mid,1)*3.1415*.05*mid); |
| 118 | wave_1_per_point3= |
| 119 | wave_1_per_point4=mx=mx+(.0001*tan(ma)); |
| 120 | wave_1_per_point5=my=my+(.0001*sin(ma)); |
| 121 | wave_1_per_point6= |
| 122 | wave_1_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 123 | wave_1_per_point8=my=if(above(my,.9),(.9-my),my); |
| 124 | wave_1_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 125 | wave_1_per_point10=my=if(below(my,.1),(.9+my),my); |
| 126 | wave_1_per_point11= |
| 127 | wave_1_per_point12=x=mx; |
| 128 | wave_1_per_point13=y=my; |
| 129 | wave_1_per_point14= |
| 130 | wave_1_per_point15=a=(above(bass+mid+treb,.1)); |
| 131 | wavecode_2_enabled=0 |
| 132 | wavecode_2_samples=512 |
| 133 | wavecode_2_sep=0 |
| 134 | wavecode_2_bSpectrum=0 |
| 135 | wavecode_2_bUseDots=0 |
| 136 | wavecode_2_bDrawThick=1 |
| 137 | wavecode_2_bAdditive=0 |
| 138 | wavecode_2_scaling=1.00000 |
| 139 | wavecode_2_smoothing=0.50000 |
| 140 | wavecode_2_r=1.000 |
| 141 | wavecode_2_g=1.000 |
| 142 | wavecode_2_b=1.000 |
| 143 | wavecode_2_a=1.000 |
| 144 | wave_2_per_point1=ma=ma+(above(mid,1)*3.1415*.01*mid); |
| 145 | wave_2_per_point2=ma=ma-(above(treb,1)*3.1415*.01*treb); |
| 146 | wave_2_per_point3= |
| 147 | wave_2_per_point4=mx=mx+(.0004*cos(ma)); |
| 148 | wave_2_per_point5=my=my+(.0004*sin(ma)); |
| 149 | wave_2_per_point6= |
| 150 | wave_2_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 151 | wave_2_per_point8=my=if(above(my,.9),(.9-my),my); |
| 152 | wave_2_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 153 | wave_2_per_point10=my=if(below(my,.1),(.9+my),my); |
| 154 | wave_2_per_point11= |
| 155 | wave_2_per_point12=x=mx; |
| 156 | wave_2_per_point13=y=my; |
| 157 | wave_2_per_point14= |
| 158 | wave_2_per_point15=a=(above(bass+mid+treb,.3)); |
| 159 | wavecode_3_enabled=1 |
| 160 | wavecode_3_samples=512 |
| 161 | wavecode_3_sep=0 |
| 162 | wavecode_3_bSpectrum=0 |
| 163 | wavecode_3_bUseDots=0 |
| 164 | wavecode_3_bDrawThick=1 |
| 165 | wavecode_3_bAdditive=0 |
| 166 | wavecode_3_scaling=1.00000 |
| 167 | wavecode_3_smoothing=0.50000 |
| 168 | wavecode_3_r=1.000 |
| 169 | wavecode_3_g=1.000 |
| 170 | wavecode_3_b=1.000 |
| 171 | wavecode_3_a=1.000 |
| 172 | wave_3_per_point1=ma=ma+(above(bass,.5)*3.1415*.02*bass); |
| 173 | wave_3_per_point2=ma=ma-(above(treb,.5)*3.1415*.02*treb); |
| 174 | wave_3_per_point3= |
| 175 | wave_3_per_point4=mx=mx+(.0008*cos(ma)); |
| 176 | wave_3_per_point5=my=my+(.0008*sin(ma)); |
| 177 | wave_3_per_point6= |
| 178 | wave_3_per_point7=mx=if(above(mx,.9),(.9-mx),mx); |
| 179 | wave_3_per_point8=my=if(above(my,.9),(.9-my),my); |
| 180 | wave_3_per_point9=mx=if(below(mx,.1),(.9+mx),mx); |
| 181 | wave_3_per_point10=my=if(below(my,.1),(.9+my),my); |
| 182 | wave_3_per_point11= |
| 183 | wave_3_per_point12=x=mx; |
| 184 | wave_3_per_point13=y=my; |
| 185 | wave_3_per_point14= |
| 186 | wave_3_per_point15=a=(above(bass+mid+treb,.2)); |
| 187 | shapecode_0_enabled=0 |
| 188 | shapecode_0_sides=4 |
| 189 | shapecode_0_additive=0 |
| 190 | shapecode_0_thickOutline=0 |
| 191 | shapecode_0_textured=1 |
| 192 | shapecode_0_num_inst=1 |
| 193 | shapecode_0_x=0.500 |
| 194 | shapecode_0_y=0.500 |
| 195 | shapecode_0_rad=1.79142 |
| 196 | shapecode_0_ang=0.00000 |
| 197 | shapecode_0_tex_ang=0.62832 |
| 198 | shapecode_0_tex_zoom=1.00000 |
| 199 | shapecode_0_r=1.000 |
| 200 | shapecode_0_g=1.000 |
| 201 | shapecode_0_b=1.000 |
| 202 | shapecode_0_a=0.000 |
| 203 | shapecode_0_r2=0.000 |
| 204 | shapecode_0_g2=0.000 |
| 205 | shapecode_0_b2=0.000 |
| 206 | shapecode_0_a2=1.000 |
| 207 | shapecode_0_border_r=1.000 |
| 208 | shapecode_0_border_g=1.000 |
| 209 | shapecode_0_border_b=1.000 |
| 210 | shapecode_0_border_a=0.000 |
| 211 | shapecode_1_enabled=1 |
| 212 | shapecode_1_sides=5 |
| 213 | shapecode_1_additive=1 |
| 214 | shapecode_1_thickOutline=0 |
| 215 | shapecode_1_textured=1 |
| 216 | shapecode_1_num_inst=1 |
| 217 | shapecode_1_x=0.500 |
| 218 | shapecode_1_y=0.500 |
| 219 | shapecode_1_rad=0.40271 |
| 220 | shapecode_1_ang=0.00000 |
| 221 | shapecode_1_tex_ang=0.00000 |
| 222 | shapecode_1_tex_zoom=0.90528 |
| 223 | shapecode_1_r=1.000 |
| 224 | shapecode_1_g=0.500 |
| 225 | shapecode_1_b=0.300 |
| 226 | shapecode_1_a=0.500 |
| 227 | shapecode_1_r2=0.000 |
| 228 | shapecode_1_g2=0.400 |
| 229 | shapecode_1_b2=1.000 |
| 230 | shapecode_1_a2=0.000 |
| 231 | shapecode_1_border_r=1.000 |
| 232 | shapecode_1_border_g=1.000 |
| 233 | shapecode_1_border_b=1.000 |
| 234 | shapecode_1_border_a=0.020 |
| 235 | shape_1_per_frame1=ang=time*.4; |
| 236 | shapecode_2_enabled=0 |
| 237 | shapecode_2_sides=4 |
| 238 | shapecode_2_additive=0 |
| 239 | shapecode_2_thickOutline=0 |
| 240 | shapecode_2_textured=0 |
| 241 | shapecode_2_num_inst=1 |
| 242 | shapecode_2_x=0.500 |
| 243 | shapecode_2_y=0.500 |
| 244 | shapecode_2_rad=0.10000 |
| 245 | shapecode_2_ang=0.00000 |
| 246 | shapecode_2_tex_ang=0.00000 |
| 247 | shapecode_2_tex_zoom=1.00000 |
| 248 | shapecode_2_r=1.000 |
| 249 | shapecode_2_g=0.000 |
| 250 | shapecode_2_b=0.000 |
| 251 | shapecode_2_a=1.000 |
| 252 | shapecode_2_r2=0.000 |
| 253 | shapecode_2_g2=1.000 |
| 254 | shapecode_2_b2=0.000 |
| 255 | shapecode_2_a2=0.000 |
| 256 | shapecode_2_border_r=1.000 |
| 257 | shapecode_2_border_g=1.000 |
| 258 | shapecode_2_border_b=1.000 |
| 259 | shapecode_2_border_a=0.100 |
| 260 | shapecode_3_enabled=0 |
| 261 | shapecode_3_sides=4 |
| 262 | shapecode_3_additive=0 |
| 263 | shapecode_3_thickOutline=0 |
| 264 | shapecode_3_textured=0 |
| 265 | shapecode_3_num_inst=1 |
| 266 | shapecode_3_x=0.500 |
| 267 | shapecode_3_y=0.500 |
| 268 | shapecode_3_rad=0.10000 |
| 269 | shapecode_3_ang=0.00000 |
| 270 | shapecode_3_tex_ang=0.00000 |
| 271 | shapecode_3_tex_zoom=1.00000 |
| 272 | shapecode_3_r=1.000 |
| 273 | shapecode_3_g=0.000 |
| 274 | shapecode_3_b=0.000 |
| 275 | shapecode_3_a=1.000 |
| 276 | shapecode_3_r2=0.000 |
| 277 | shapecode_3_g2=1.000 |
| 278 | shapecode_3_b2=0.000 |
| 279 | shapecode_3_a2=0.000 |
| 280 | shapecode_3_border_r=1.000 |
| 281 | shapecode_3_border_g=1.000 |
| 282 | shapecode_3_border_b=1.000 |
| 283 | shapecode_3_border_a=0.100 |
| 284 | per_frame_init_1=mv_x=64;mv_y=48; |
| 285 | per_frame_init_2=nut=0; |
| 286 | per_frame_init_3=stp=0;stq=0; |
| 287 | per_frame_init_4=rtp=0;rtq=0; |
| 288 | per_frame_init_5=wvr=0; |
| 289 | per_frame_init_6=decay=0; |
| 290 | per_frame_init_7=dcsp=0; |
| 291 | per_frame_init_8=warp=0 |
| 292 | per_frame_init_9= |
| 293 | per_frame_1=zoom=1; |
| 294 | per_frame_2=//krash's beat detection code |
| 295 | per_frame_3=volume = 0.3*(bass+mid+att); |
| 296 | per_frame_4=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate); |
| 297 | per_frame_5=lastbeat = lastbeat + equal(lastbeat,0)*time; |
| 298 | per_frame_6=meanbass_att = 0.1*(meanbass_att*9 + bass_att); |
| 299 | per_frame_7=peakbass_att = max(bass_att,peakbass_att); |
| 300 | per_frame_8=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1); |
| 301 | per_frame_9=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.95 + (1-above(time - lastbeat, 2*beatrate))*0.995); |
| 302 | per_frame_10=lastbeat = beat*time + (1-beat)*lastbeat; |
| 303 | per_frame_11=peakbass_att = max(peakbass_att,1.1*meanbass_att); |
| 304 | per_frame_12=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1)); |
| 305 | per_frame_13=beatcounter = beatcounter + beat; |
| 306 | per_frame_14=mode = if(beat*equal(beatcounter%2,0),1-mode,mode); |
| 307 | per_frame_15=flip = 2*mode-1; |
| 308 | per_frame_16=monitor=flip; |
| 309 | per_frame_17=q8=flip; |
| 310 | per_frame_18= |
| 311 | per_frame_19=angadv=angadv+beat; |
| 312 | per_frame_20=angadv=if( above(angadv,5) , 2 , angadv ); |
| 313 | per_frame_21=q7=angadv; |
| 314 | per_frame_22= |
| 315 | per_frame_23= |
| 316 | per_frame_24=decay=0.95; |
| 317 | per_frame_25=zoom=1.002; |
| 318 | per_frame_26= |
| 319 | per_frame_27=vol=(bass_att+mid_att+treb_att)*0.25; |
| 320 | per_frame_28=vol=vol*vol; |
| 321 | per_frame_29=mtime=mtime+vol*0.1*flip*(37/fps); |
| 322 | per_frame_30= |
| 323 | per_frame_31=q1=mtime*0.4; |
| 324 | per_frame_32= |
| 325 | per_frame_33=warp=0.0; |
| 326 | per_frame_34= |
| 327 | per_frame_35=cx=sin(mtime*0.2)*0.4 + 0.5; |
| 328 | per_frame_36=cy=sin(mtime*0.33); |
| 329 | per_frame_37=cys=sign(cy); |
| 330 | per_frame_38=cy=cy*cy*cys; |
| 331 | per_frame_39=cy=cy*0.4+0.5; |
| 332 | per_frame_40= |
| 333 | per_frame_41=//cx=sin(time)*0.5+0.5; |
| 334 | per_frame_42=//cy=cos(time)*0.5+0.5; |
| 335 | per_frame_43=//cx=0.5; |
| 336 | per_frame_44=//cy=0.5; |
| 337 | per_frame_45=rot=sin(time*0.25)*0.31; |
| 338 | per_frame_46= |
| 339 | per_frame_47= |
| 340 | per_frame_48=q23 = int(rand(1000))/1000; |
| 341 | per_frame_49=q24 = int(rand(1000))/1000; |
| 342 | per_frame_50=q25 = (int(rand(1000))/1000)*6.28; |
| 343 | per_frame_51=q26 = q25 - 3.14; |
| 344 | per_frame_52=q27 = (int(rand(1000))/8000)+0.1; |
| 345 | per_frame_53= |
| 346 | per_frame_54=q28 = int(rand(1000))/1000; |
| 347 | per_frame_55=q29 = int(rand(1000))/1000; |
| 348 | per_frame_56=q30 = (int(rand(1000))/1000)*6.28; |
| 349 | per_frame_57=q31 = q30 - 3.14; |
| 350 | per_frame_58=q32 = (int(rand(1000))/8000)+0.1; |
| 351 | per_frame_59=chng=sin(time*.5); |
| 352 | per_frame_60=cthr=.9999; |
| 353 | per_frame_61=mq21=if(above(chng,cthr),rand(3),mq21); |
| 354 | per_frame_62=mq22=if(above(chng,cthr),rand(3),mq22); |
| 355 | per_frame_63=mq23=if(above(chng,cthr),rand(3),mq23); |
| 356 | per_frame_64=mq24=if(above(chng,cthr),rand(2),mq24); |
| 357 | per_frame_65=mq25=if(above(chng,cthr),rand(2),mq25); |
| 358 | per_frame_66=mq26=if(above(chng,cthr),rand(2),mq26); |
| 359 | per_frame_67=mq27=if(above(chng,cthr),rand(1),mq27); |
| 360 | per_frame_68=mq28=if(above(chng,cthr),rand(1),mq28); |
| 361 | per_frame_69=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 362 | per_frame_70=mq30=if(above(chng,cthr),rand(1)*.3,mq30); |
| 363 | per_frame_71=monitor=chng; |
| 364 | per_frame_72=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 365 | per_frame_73=q27=mq27;q28=mq28;q29=mq29;q30=mq30; |
| 366 | per_frame_74= |
| 367 | per_frame_75=monitor=mq1; |
| 368 | per_frame_76=vol=bass+treb+mid; |
| 369 | per_frame_77=atime=atime+vol; |
| 370 | per_frame_78=q1=.4+sin(atime*.006 )*.4; |
| 371 | per_frame_79=q2=.4+cos(atime*.00613828348)*.4; |
| 372 | per_frame_80=q3=.4+sin(atime*.00598593455)*.4; |
| 373 | per_frame_81=monitor=q3; |
| 374 | per_frame_82= |
| 375 | per_pixel_1=//tm=time+(sin(time)*rad); |
| 376 | per_pixel_2=//var=tan(time)*treb; |
| 377 | per_pixel_3=tbr=0.7+treb*0.3; |
| 378 | per_pixel_4=var=-2*tbr*0.75; |
| 379 | per_pixel_5= |
| 380 | per_pixel_6=ag=atan( (y-0.5-(cy-0.5))/(x-0.5-(cx-0.5)) )*1.75; |
| 381 | per_pixel_7=star=sin(ang*q7)*tbr; |
| 382 | per_pixel_8= |
| 383 | per_pixel_9=rdd=max( abs(x-0.5) , abs(y-0.5) )*4 ; |
| 384 | per_pixel_10=zm=1+(rdd/40)+(var/40)+star*0.003 ; |
| 385 | per_pixel_11= |
| 386 | per_pixel_12=//sx=zm; |
| 387 | per_pixel_13=//sy=zm; |
| 388 | per_pixel_14=//sx=1+star*0.1;sy=1+star*0.1; |
| 389 | per_pixel_15=sx=0.8;sy=sx; |
| 390 | per_pixel_16=//rot=star*0.01*tbr |
| 391 | warp_1=`sampler sampler_worms; |
| 392 | warp_2=`float3 color, mus; |
| 393 | warp_3=`float2 uv1, uv6; |
| 394 | warp_4=`float dx,dy; |
| 395 | warp_5=` |
| 396 | warp_6=`shader_body { |
| 397 | warp_7=`uv1 = (uv-.5); |
| 398 | warp_8=`float2 ang2= tex2D (sampler_noise_hq,uv1/3+.006*time).xy; |
| 399 | warp_9=`uv6 = mul(uv1,float2x2(ang2.y,-ang2.x,ang2.x,ang2.y)); |
| 400 | warp_10=`mus = abs(.5*cos(uv6.y*14)-(cos(uv6.x*71))); |
| 401 | warp_11=`mus *= float3 (1,.96,.9)/25; |
| 402 | warp_12=`uv6 = .2*sin(12*uv+rand_frame); |
| 403 | warp_13=`float3 dots = .001/length(uv6)* float3 (0.2,1,1); |
| 404 | warp_14=`//dots = lum(tex2D (sampler_noise_hq,uv +rand_frame)); |
| 405 | warp_15=`//dots = (dots-.7) * (dots >= .7) * float3 (0.2,1,1); |
| 406 | warp_16=`mus -= dots; |
| 407 | warp_17=`float3 blur = GetBlur1(frac(uv)); |
| 408 | warp_18=`float2 hor = float2 (texsize.z,0); |
| 409 | warp_19=`float2 ver = float2 (0,texsize.w); |
| 410 | warp_20=`hor = float2 (.004,0); |
| 411 | warp_21=`ver = float2 (0,.004); |
| 412 | warp_22=`float dx = lum(GetPixel(uv+hor)-GetPixel(uv-hor)); |
| 413 | warp_23=`float dy = lum(GetPixel(uv+ver)-GetPixel(uv-ver)); |
| 414 | warp_24=`float2 zz = float2 (dx,dy); |
| 415 | warp_25=`float3 crisp= tex2D(sampler_main,uv+zz*.02); |
| 416 | warp_26=`crisp +=.015 - length(zz)*blur/1.5; |
| 417 | warp_27=`float3 ret1 = crisp - lum(blur)*.012 + mus; |
| 418 | warp_28=`ret = ret1 * .99 - .04 ; |
| 419 | warp_29=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 420 | warp_30=` ((uv6.xyy*q27 |
| 421 | warp_31=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 422 | warp_32=` ).xyz* |
| 423 | warp_33=` float3(1,1,0)*0.05 + |
| 424 | warp_34=` time*float3(0,0,1)*q29 |
| 425 | warp_35=` ); |
| 426 | warp_36=`if(ret.x> q21*q3 && ret.x<= q24*q1 )ret.y -= (noise9).x*.5; |
| 427 | warp_37=`if(ret.y> q22*q1 && ret.y<= q25*q2 )ret.z -= (noise9).y*.5; |
| 428 | warp_38=`if(ret.z> q23*q2 && ret.z<= q26*q3 )ret.x -= (noise9).z*.5; |
| 429 | warp_39=`} |
| 430 | comp_1=`shader_body |
| 431 | comp_2=`{ |
| 432 | comp_3=` float2 uv2, uv3; |
| 433 | comp_4=` float ang2, c, s; |
| 434 | comp_5=` uv -= 0.5; |
| 435 | comp_6=` uv *= aspect.xy; |
| 436 | comp_7=` ang2 = 6.28*0.333; |
| 437 | comp_8=` c = cos(ang2); |
| 438 | comp_9=` s = sin(ang2); |
| 439 | comp_10=` uv2.x = uv.x*c - uv.y*s; |
| 440 | comp_11=` uv2.y = uv.x*s + uv.y*c; |
| 441 | comp_12=` ang2 = 6.28*0.667; |
| 442 | comp_13=` c = cos(ang2); |
| 443 | comp_14=` s = sin(ang2); |
| 444 | comp_15=` uv3.x = uv.x*c - uv.y*s; |
| 445 | comp_16=` uv3.y = uv.x*s + uv.y*c; |
| 446 | comp_17=` ret = tex2D(sampler_main, uv + 0.5).xyz; |
| 447 | comp_18=` ret = max(ret, tex2D(sampler_main,uv2 + 0.5).xyz); |
| 448 | comp_19=` ret = max(ret, tex2D(sampler_main,uv3 + 0.5).xyz); |
| 449 | comp_20=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 450 | comp_21=` ((uv3.xyy*q28 |
| 451 | comp_22=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 452 | comp_23=` ).xyz* |
| 453 | comp_24=` float3(1,1,0)*0.05 + |
| 454 | comp_25=` time*float3(0,0,1)*q30 |
| 455 | comp_26=` ); |
| 456 | comp_27=`if(ret.x> q26*q3 && ret.x<= q23*q1 )ret.z += (noise9).x*.5; |
| 457 | comp_28=`if(ret.y> q25*q1 && ret.y<= q22*q2 )ret.x += (noise9).y*.5; |
| 458 | comp_29=`if(ret.z> q24*q2 && ret.z<= q21*q3 )ret.y += (noise9).z*.5; |
| 459 | comp_30=` ret *= 1.3; |
| 460 | comp_31=` ret *= hue_shader*4-2; |
| 461 | comp_32=`ret = 1-saturate(ret); |
| 462 | comp_33=`} |
| 463 | comp_34=` |
| 464 | comp_35=` |